#ifndef uart_debug
#define uart_debug
#include <string.h>
#include <stdio.h>
#include "zf_uart.h"
#include "SEEKFREE_WIRELESS.h"
#define MAXLEN 50
#define CHARPERLINE 5
typedef struct{
    char content[MAXLEN];
    int len;
}Buff;

extern Buff ttlBuff;
extern Buff wirelessBuff;

int toBuff(Buff *buff, int val);
int addBuffTo(Buff *buff, Buff *buff2);
void buffInit();
void clearBuff(Buff* buff);
void ttlSend();
void wirelessSend();



#endif
